/**  
 * Project Name:api-webhook  
 * File Name:BillRecord.java  
 * Package Name:com.example.service.webhook.business.fund.dto  
 * Date:2016年8月20日下午4:27:43  
 * Copyright (c) 2016, yuandong@51dojo.com All Rights Reserved.  
 *  
*/  
  
package com.example.service.webhook.business.fund.entity;

import java.util.Date;

import com.example.service.webhook.repository.base.Saveable;
import com.fasterxml.jackson.annotation.JsonProperty;

/**  
 * ClassName:BillRecord <br/>  
 * Function: TODO ADD FUNCTION. <br/>  
 * Reason:   TODO ADD REASON. <br/>  
 * Date:     2016年8月20日 下午4:27:43 <br/>  
 * @author   yuandong  
 * @version    
 * @since    JDK 1.6  
 * @see        
 */
public class BillRecordEntity implements Saveable {
	
	private long id;
	private String userId;
	private String areaCode;
	private String customerNumber; //客户号
    private Integer outcome;
    private Integer income;
    private String description;
    private Integer balance;
    private String dealTime;
    private String corporationName;
    private Integer corporationIncome;
    private Integer customerIncome;
    private String corporationRatio;
    private String customerRatio;
    private Integer additionalIncome;
    
    private Date createTime;
    private Date lastModifyTime;
    
    
    private static final String[] keyColumns       = { "id" };
    private static final String   tableName        = "t_fund_billrecord";

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public String[] getKeyColumns() {
        return keyColumns;
    }
    
    @Override
    public String getPrimaryVal() {
        return String.valueOf(id);
    }

    

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
    
	public Integer getOutcome() {
		return outcome;
	}
	public void setOutcome(Integer outcome) {
		this.outcome = outcome;
	}
	public Integer getIncome() {
		return income;
	}
	public void setIncome(Integer income) {
		this.income = income;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Integer getBalance() {
		return balance;
	}
	public void setBalance(Integer balance) {
		this.balance = balance;
	}
	
	
	
	public String getDealTime() {
		return dealTime;
	}
	public void setDealTime(String dealTime) {
		this.dealTime = dealTime;
	}
	public String getCorporationName() {
		return corporationName;
	}
	public void setCorporationName(String corporationName) {
		this.corporationName = corporationName;
	}
	public Integer getCorporationIncome() {
		return corporationIncome;
	}
	public void setCorporationIncome(Integer corporationIncome) {
		this.corporationIncome = corporationIncome;
	}
	public Integer getCustomerIncome() {
		return customerIncome;
	}
	public void setCustomerIncome(Integer customerIncome) {
		this.customerIncome = customerIncome;
	}
	public String getCorporationRatio() {
		return corporationRatio;
	}
	public void setCorporationRatio(String corporationRatio) {
		this.corporationRatio = corporationRatio;
	}
	public String getCustomerRatio() {
		return customerRatio;
	}
	public void setCustomerRatio(String customerRatio) {
		this.customerRatio = customerRatio;
	}
	public Integer getAdditionalIncome() {
		return additionalIncome;
	}
	public void setAdditionalIncome(Integer additionalIncome) {
		this.additionalIncome = additionalIncome;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getCustomerNumber() {
		return customerNumber;
	}

	public void setCustomerNumber(String customerNumber) {
		this.customerNumber = customerNumber;
	}
	
	
	
}
  
